﻿<!DOCTYPE html>
<!--
//*****************************************************************************
//
//	Copyright 2015 Microsoft Corporation
//
//	Licensed under the Apache License, Version 2.0 (the "License");
//	you may not use this file except in compliance with the License.
//	You may obtain a copy of the License at
//
//	http ://www.apache.org/licenses/LICENSE-2.0
//
//	Unless required by applicable law or agreed to in writing, software
//	distributed under the License is distributed on an "AS IS" BASIS,
//	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//	See the License for the specific language governing permissions and
//	limitations under the License.
//
//*****************************************************************************
-->
<html>
<head>
    <meta charset="utf-8" />
    <title>MediaPlayerJS.WindowsPhone</title>

    <!-- WinJS references -->
    <!-- At runtime, ui-themed.css resolves to ui-themed.light.css or ui-themed.dark.css
    based on the user’s theme setting. This is part of the MRT resource loading functionality. -->
    <link href="/css/ui-themed.css" rel="stylesheet" />
    <script src="//Microsoft.Phone.WinJS.2.1/js/base.js"></script>
    <script src="//Microsoft.Phone.WinJS.2.1/js/ui.js"></script>

    <!-- MediaPlayerJS.Phone references -->
    <link href="/css/default.css" rel="stylesheet" />
    <script src="/js/default.js"></script>
</head>
<body class="phone">
    <!-- The Media Element -->
    <div data-win-control="MediaPlayer">
        <video id="mediaElement" controls="controls"></video>
    </div>

    <!-- The Bottom AppBar -->
    <div id="topAppBar" data-win-control="WinJS.UI.AppBar" data-win-options="{}">
        <button data-win-control="WinJS.UI.AppBarCommand"
                data-win-options="{id:'cmdBrowse', label:'Open File', icon:'openlocal', section:'global'}"></button>
        <button data-win-control="WinJS.UI.AppBarCommand"
                data-win-options="{id:'cmdAudio', label:'Disable audio auto decoding', section:'selection', type:'toggle'}"></button>
        <button data-win-control="WinJS.UI.AppBarCommand"
                data-win-options="{id:'cmdVideo', label:'Disable video auto decoding', section:'selection', type:'toggle'}"></button>
    </div>
</body>
</html>